import React from 'react'
import SearchList from './SearchList'
import {useParams} from 'react-router-dom'
import SearchHeader from './SearchHeader';
export default function Search() {
    const params=useParams();
  return (
    <div>
        <SearchHeader/>
        <SearchList search={params.keywords}/>
    </div>
  )
}
